package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Client;
import cn.wolfcode.crm.query.ClientQueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IClientService {
    int deleteByPrimaryKey(Long id);

    int insert(Client record);

    Client selectByPrimaryKey(Long id);

    List<Client> selectAll();

    int updateByPrimaryKey(Client record);

    PageResult list(ClientQueryObject qo);

    void moveIntoClientPool(Long id);

    void correctClient(Long id);

    void updateInChargeUserByPrimaryKey(Long inChargeUserId,Long id);

    void absorb(Long id);

    void changeStatus(long status,Long cId);
}
